<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/mytags.jsp"%>
<div class="table-scrollable">
	<table class="table table-striped table-hover table-success">
		<thead>
			<tr>
				<th>NUM</th>
				<th>用户名</th>
				<th>登录名</th>
				<th>组织</th>
				<th>电话</th> 
				<th>邮箱</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${page.result }" var="user" varStatus="vs">
			<tr>
				<td>${vs.count + page.offset}</td>
				<td>${user.username}</td>
				<td>${user.loginname}</td>
<%-- 				<td>${user.orgName}</td> --%>
				<td></td>
				<td>${user.userphone}</td>
				<td>${user.useremail}</td>
				<td>
					<a href="javascript:" onclick="update('/sysuser/user?userid=${user.userid}')">编辑</a>
					<a href="javascript:" onclick="del('/sysuser/delete?userid=${user.userid}')">删除</a>
				</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<div class="pageination-panel">${page}</div>